package net.ys.utils;

import lombok.extern.slf4j.Slf4j;

/**
 * User: NMY
 * Date: 18-4-26
 */
@Slf4j
public class LogUtil {
    public static void error(Exception e) {
        log.error("error", e);
    }

    public static void info(Object msg) {
        log.info("info", msg);
    }

    public static void debug(Object... messages) {
        for (Object msg : messages) {
            System.out.println(System.currentTimeMillis() + " debug-msg: " + msg);
        }
    }
}
